#define  _CRT_SECURE_NO_WARNINGS 1		
#include<stdio.h>
#define OFFSETOF(struct_type,men_name)   (int)&(((struct_type*)0)->men_name)
struct test {
	int a;
	char c;
	short b;
};
int main()
{
	int len = OFFSETOF(struct test,b);
	printf("%d", len);
	return 0;
}